#ifndef CLINECONFIGDIALOG_H
#define CLINECONFIGDIALOG_H

#include <QWidget>
#include <QSpinBox>

class CLineConfigDialog : public QWidget
{
    Q_OBJECT
public:
    explicit CLineConfigDialog(QWidget *parent = nullptr);

    void SetPenWidth(int nWidth);
signals:
    //画笔宽度改变
    void PenWidthChanged(int nWidth);
    //member func
public slots:
    void PenWidthChangedSlot(int nWidth);
private:
    void Init();
    //member
private:
    //画笔宽度
   int m_width;
   QSpinBox m_PenWidth;
};

#endif // CLINECONFIGDIALOG_H
